.page-container {
  min-height: 100vh;
  background-color: #f5f5f5;
  padding-top: 80px;
  width: 100%;
  box-sizing: border-box;
  overflow-x: hidden;
}

/* 主要内容区域 */
.main-content {
  width: calc(100% - 160px);
  max-width: 1800px;
  margin: 40px auto;
  padding: 0 20px;
  display: flex;
  gap: 20px;
  box-sizing: border-box;
}

/* 左侧容器组 */
.left-container {
  width: 100%;
  display: flex;
  flex-direction: row;
  gap: 20px;
}

/* 统计容器 */
.statistics-container {
  flex: 2;
  background: white;
  padding: 30px;
  border-radius: 4px;
  display: flex;
  gap: 20px;
  min-width: 0;
}

/* 操作容器 */
.action-container {
  flex: 1;
  background: white;
  padding: 30px;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 300px;
}

/* 底部容器 */
.bottom-container {
  width: calc(100% - 160px);
  max-width: 1800px;
  margin: 20px auto 40px;
  padding: 0 20px;
  box-sizing: border-box;
}

.line {
  width: 6px;
  height: 25px;
  background-color: #c62828;
  border-radius: 2px;
}

.trend-container {
  background: white;
  padding: 20px;
  border-radius: 4px;
  width: 98%;
  position: relative;
}

.trend-title {
  font-size: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* 其他样式保持不变 */
.stat-box {
  flex: 1;
}

.stat-value {
  display: flex;
  align-items: baseline;
}

.number {
  font-size: 52px;
  font-weight: bold;
  color: #333;
  margin-left: 10px;
}

.number.green {
  color: #67c23a;
}

.unit {
  margin-left: 10px;
  font-size: 20px;
  color: #000000;
  font-weight: bold;
}

.action-buttons {
  display: flex;
  gap: 10px;
  margin-top: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.action-btn {
  flex: 1 1 auto;
  min-width: 120px;
  max-width: 210px;
  border-radius: 10px;
  font-size: 17px;
  height: 40px;
  white-space: nowrap;
}

.chart-container {
  height: 400px;
}

.trend-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.trend-actions {
  display: flex;
  gap: 10px;
}

.trend-chart {
  width: 100%;
  height: 300px;
  position: relative;
}

:deep(.el-button--danger) {
  --el-button-bg-color: #c62828;
  --el-button-border-color: #c62828;
  --el-button-hover-bg-color: #d32f2f;
  --el-button-hover-border-color: #d32f2f;
}

.back-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  color: white;
  cursor: pointer;
  font-size: 16px;
  padding: 5px 10px;
  border-radius: 4px;
  transition: background-color 0.3s;
}

.back-btn:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.back-btn .el-icon {
  font-size: 18px;
}

/* 添加红色竖条样式 */
.red-line {
  position: absolute;
  left: -10px;
  top: 5px;
  bottom: 0;
  width: px;
  height: 80%;
  background-color: #c8102e;
  border-radius: 18px;
}

/* 调整标题容器样式 */
.trend-header h3 {
  margin-left: 5px;
}

.stat-label {
  font-size: 25px;
  color: #000000;
  margin-bottom: 10px;
  margin-left: 10px;
}

/* 响应式布局调整 */
@media screen and (max-width: 1400px) {
  .main-content,
  .bottom-container {
    width: calc(100% - 80px);
  }
  
  .statistics-container,
  .action-container {
    padding: 20px;
  }
  
  .action-btn {
    min-width: 100px;
    font-size: 15px;
  }
}

@media screen and (max-width: 1200px) {
  .main-content,
  .bottom-container {
    width: calc(100% - 40px);
  }
  
  .left-container {
    flex-direction: column;
  }
  
  .action-container {
    min-width: 0;
  }
  
  .action-buttons {
    gap: 15px;
    padding: 0 10px;
  }
  
  .action-btn {
    flex: 1 1 200px;
    max-width: none;
  }
}

@media screen and (max-width: 768px) {
  .main-content,
  .bottom-container {
    width: calc(100% - 20px);
    margin: 20px auto;
  }
  
  .action-buttons {
    flex-direction: column;
    align-items: stretch;
    padding: 0;
  }
  
  .action-btn {
    width: 100%;
    max-width: none;
    margin: 5px 0;
  }
}